package com.mapper.setting;


import com.entity.AdministrativeOffice;
import java.util.List;
import java.util.Map;


public interface SysOfficeMapper {

    //查询所有科室信息
    List<AdministrativeOffice> findOfficeList();

    //根据科室名称查询科室信息
    List<AdministrativeOffice> findOfficeByName(String office_name);

    //根据科室名新增一个科室
    Integer addOfficeByName(AdministrativeOffice office);

    //根据科室id修改科室的信息
    Integer updateOfficeById(AdministrativeOffice office);

    //根据科室Id删除科室信息
    Integer delOfficeById(AdministrativeOffice office);



}
